import request from "@/util/request";

/**
 * @description 高校补贴申领状态列表查询
 * @param data
 * @returns {Promise}
 */
export function subsidyApplicationList(data) {
	return request({
		url: '/subsidyApplication/subsidyApplicationList',
		method: 'GET',
		data
	})
}
/**@description 新增前查询用户填写过的个人信息详情
 * @param {Object} data
 */
export function getOneByUid() {
	return request({
		url: '/personalInformation/getOneByUid',
		method: 'GET'
	})
}
/**@description  新增
 * @param {Object} data
 */
export function addAndUpdate(data) {
	return request({
		url: '/subsidyApplicationDetails/addAndUpdate',
		method: 'POST',
		data
	})
}

export function getDetial(data) {
	return request({
		url: '/subsidyApplicationDetails/getSAStatusBySAId',
		method: 'GET',
		data
	})
}

export function getAgainDetial(data) {
	return request({
		url: '/subsidyApplicationDetails/getDetailById',
		method: 'GET',
		data
	})
}